package org.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;

public class UserRegisterParam {
    //姓名
    @NotBlank(message = "姓名不能为空！")
    private String name;
    //邮箱
    @NotBlank(message = "邮箱不能为空！")
    private String mail;
    //电话
    @NotBlank(message = "电话不能为空！")
    private String phoneNumber;
    //密码
    private String password;
    //身份信息
    @NotBlank(message = "身份不能为空！")
    private String identity;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }
}
